package com.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Title: User
 * Description: TODO
 *
 * @author gejx
 * @version V1.0
 * @date 2021-12-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;
    private String name;
    private Integer age;
    private String email;
    private  Integer did;

    public User(String name, Integer age, String email, Integer did) {
        this.name = name;
        this.age = age;
        this.email = email;
        this.did = did;
    }

    public User(String name, Integer age, Integer did) {
        this.name = name;
        this.age = age;
        this.did = did;
    }

    public User(Integer id, String name, Integer age, Integer did) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.did = did;
    }
}
